﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WebAnalyser.Library;

using Microsoft.Samples;

namespace WebAnalyser.UI
{
    public class DialogBox
    {
        public static void Error(string message, string title)
        {
            TaskDialog dialog = new TaskDialog();
            dialog.WindowTitle = title;
            dialog.Content = message;
            dialog.MainIcon = TaskDialogIcon.Error;
            dialog.Show(Common.MainWindow.Handle);
        }
    }
}
